home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Demos
/
Bowers Development
/
AppMaker 2.0b5
/
Examples
/
PowerPlant
/
Gadgets
/
CPallette.h
< prev
next >
Wrap
Text File
|
1996-03-19
|
1KB
|
54 lines
// CPallette.h -- window class
// Created 3/19/96 12:49 PM by AppMaker
#pragma once
#include <LWindow.h>
#include <LListener.h>
class CGadgetsData;
class LStream;
class LStdControl;
//----------
class CPallette : public LWindow,
public LListener {
public:
static CPallette* CreatePallette (LCommander *inSuperCommander,
CGadgetsData *inData);
static CPallette* CreatePalletteStream (LStream *inStream);
CPallette();
CPallette (LStream *inStream);
virtual ~CPallette();
virtual void ListenToMessage (MessageT inMessage,
void *ioParam);
virtual Boolean ObeyCommand (CommandT inCommand,
void *ioParam = nil);
virtual void FindCommandStatus (CommandT inCommand,
Boolean &outEnabled,
Boolean &outUsesMark,
Char16 &outMark,
Str255 outName);
virtual Boolean FocusDraw();
protected:
static void RegisterClass();
virtual void FinishCreateSelf();
virtual void ConnectToData (CGadgetsData *inData);
protected:
protected:
static Boolean sIsRegistered;
CGadgetsData *mData;
// Panes in this window:
LStdControl* mToolsPalette;
};